

 <!--获取QQ号码及用户资料-->
			  <?php
                   if(isset($_POST['u'])){
                        header('Content-Type: text/html; charset=utf-8');
                        $ret = file_get_contents('http://r.pengyou.com/fcg-bin/cgi_get_portrait.fcg?uins='.$_POST['u']);
                        if(is_string($ret)){
                         $ret =	str_replace('portraitCallBack(','',$ret);
						 $ret = substr($ret, 0, -1);
//						 $ret = json_decode($ret);
						 echo $ret;	
                        }else{
                        echo	'no' ;
                        	
                        }
                     }else{
                     	
                     }
               ?>
			<!--获取QQ号码及用户资料 end-->
		   <p>
               <iframe name="hiddenIframe" style="display:none;"></iframe>
               <form action="" method="POST" target="hiddenIframe">
		  <p style="color:#FF262E;">您也可以直接填写QQ到下面的输入框中，点击获取用户资料实现自动调用您的QQ资料</p>
               <input placeholder="请输入您的QQ号码" value="" type="text" name="u" />
               <input style="width:90px;" type="submit" value="获取用户资料">
               </form>
		  </p>
			<p>
				<input type="text" name="comname" maxlength="49" value="" size="22" tabindex="1">
				<label for="author"><small>昵称</small></label>
			</p>